//自定义包
//创建包
//定义包的功能
//导出包
/**
 * 说
 * @param msg
 */
let say = (msg)=>{
    console.log(msg)
}
/**
 * 静态常量
 * @type {string}*/
const globalword = 'i am from mypackage'
//导入包的第一种方式
// module.exports = {say, globalword}
//第二种
exports.say = say;
exports.globalword = globalword;
//两者导出不要冲突。




